package com.cskaoyan.service;

import com.cskaoyan.bean.VoCCY.*;
import com.cskaoyan.bean.common.BaseRespVo;


public interface CartService {
    int selectCartById(Integer userId);

    BaseRespVo insertCart(WxCartAddBo cartAddBo, Integer userId);

    WxCartIndexVo indexCart(Integer userId);

    BaseRespVo updateCart(WxCartAddBo cartAddBo, Integer userId);

    WxCartIndexVo updateChecked(WxCartCheckedBo cartCheckedBo,Integer userId);

    BaseRespVo selectCart(Integer cartId, Integer addressId, Integer couponId, Integer userCouponId,Integer userId,Integer grouponRulesId);

    BaseRespVo insertCart2(WxCartAddBo cartAddBo, Integer userId);

    WxCartIndexVo deleteCart(WxCartDeleteBo deleteBo, Integer userId);

//    BaseRespVo selectCart2(Integer cartId, Integer addressId, Integer couponId, Integer userCouponId, Integer userId, Integer grouponRulesId);
}
